<%--
    Document   : Employee
    Created on : May 9, 2012, 9:28:43 AM
    Author     : Nguyen Hung
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<f:subview id="conf425475">
    <html>
        <head>
            <link rel="stylesheet" type="text/css" href="../css/thickbox.css"/>
            <link rel="stylesheet" type="text/css" href="../css/item_cssdivtable.css"/>
            <script type="text/javascript" language="javascript" src="../scripts/jQuery/thickbox.js"></script>
            <script type="text/javascript" language="javascript">
                var open_cur = 0;
                $j = jQuery.noConflict();
                $j(document).ready(function() {
                    $j("#toggle").hide();
                    initThickBox('.thickbox');

                    $j(".sendSMS1").live("click", function(data) {

                        $j("#togglesms").show();
                        $j("#togglesms").animate({height: 'auto', opacity: '0.9'}, "slow");
                        $j("#togglesms").animate({width: '39%', opacity: '0.9'}, "slow");
                        lang = $j(this).attr("lang");
                        $j.post("loaddatasmsTour.jsp?" + lang, function(data) {
                            if (data != null) {
                                $j("#togglesms").html(data);
                            }
                        });
                    });
                });
            </script>
            <style>

                .rich-tab-active {
                    background: none repeat scroll 0 0 #0054A6;
                    border-color: #0054A6;
                    color: #FFFFFF !important;
                    cursor: pointer;
                    height: 20px;
                }
                .rich-tab-inactive {
                    background: center top repeat-x #506579;
                    border-color: #506579;
                    border-style: solid;
                    border-width: 1px 1px 0;
                    color: white !important;
                    cursor: pointer;
                    height: 20px;
                }
                .democolumnitem{
                    background: none repeat scroll 0 0 #456565;
                    color: #FFFFFF;
                    font-size: 11px;
                    font-weight: bold;
                    height: 35px;
                    text-align: center;
                }
                .democolumn2item {
                    background: none repeat scroll 0 0 #FFFFFF;
                    color: #000000;
                    font-size: 11px;
                    padding: 3px;
                }
                .rich-table-subheadercell{
                    background: none repeat scroll 0 0 #456565;
                    border-right: none !important;
                }
                .rich-table-cell{
                    border-right: none !important;
                    border-bottom: none !important;
                }
                .odditem{
                    background: #D0E5E5;
                }
                
.content_child .item_content_child {
    margin-left: 2%;
    padding-bottom: 13px;
    width: 96%;
    border: none;
}


.rich-tabpanel-content {
    background-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    border-left-color: #FFFFFF;
    border-right-color: #FFFFFF;
    color: #000000;
    font-family: Arial,Verdana,sans-serif;
    font-size: 11px;
}


.rich-tab-bottom-line {
    border-bottom: 3px solid #0054A6;
}

.rowdiv
{
    background: none repeat scroll 0 0 #ECF2F7;
    height: 45px;
    padding: 14px;
    width: 98%;
    margin-top: 1px;
}

.rowodd
{
    background: none repeat scroll 0 0 #BCD4E0;
    height: 45px;
    padding: 14px;
    width: 98%;
    margin-top: 1px;
}

.colclass
{
    width: 25%;float: left;
}
.styleCN .colclass
{
    width: 16%;
}

.classTL .colclass
{
    width: 40%;
}

.colclass-child
{
    width: 100%;
    padding-bottom: 5px;
}

.colclass label{
    width: 100%;
    font-weight: bold;
    padding-right: 5px;
    font-size: 13px;
}

.outtext{
    font-size: 13px;
}
            </style>
        </head>


        <body>

            <div id="togglesms">

            </div>

            <a4j:form>

                <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
                <h:outputText value="<div class='permission' lang='#{loginSession.right.MNU_DKH_VIE}'></div>" escape="false"/>
                <div class="content_child">
                    <div class="item_content_child">
                        <rich:tabPanel selectedTab="#{EmpBean.tabString}" switchType="ajax">

                            <rich:tab name="TABLL" action="#{EmpBean.chooseTabll}" label="THÔNG TIN LIÊN LẠC">
                                <h:panelGroup id="reload3" style="float:left;width:100%;">
                                    <div style="width: 100% !important;float:left;">
<%--                                        <div style="float:left;width:100%;background-color: #4884B5;">

                                            <div style="float: left;border: 1px solid #666666;width: 7%;background-color: #506579;color: #fff;">

                                                <h:outputText style="float:left;line-height:25px;margin-left:7%;font-size:10px" value="#{locale.contact_info}"/>

                                            </div>
                                            <div style="float: left;border: 1px solid #666666;width: 2%;background-color: #506579;color: #fff;" >
                                                <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox">
                                                    <h:outputText style="float:left;line-height:25px;margin-left:21%;font-size:25px;color:white;" value="+"/>
                                                </h:outputLink>

                                            </div>

                                        </div>  --%>
                                        <div style ="padding-top: 5px; padding-left: 5px; padding-bottom: 5px; height: 16px;">
                                            <h:outputLabel value="THÔNG TIN LIÊN LẠC" style="font-weight: bold;float: left;color: #4884B5;"></h:outputLabel>
                                            <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: left; margin-left: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: left;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                        </div>
                                        <div style="float:left;width: 100%;">
                                            <a4j:repeat value="#{contactController.listoftabN950}" var="item" rowKeyVar="row">
                                                <h:panelGroup rendered="#{row%2==0}">
                                                    <div class="rowdiv">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="Điện thoại:"></h:outputLabel>
                                                            <h:outputText value="#{item.MOB1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="FAX:"></h:outputLabel>
                                                            <h:outputText value="#{item.FAX1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="Email:"></h:outputLabel>
                                                             <h:outputText value="#{item.EML1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Yahoo:"></h:outputLabel>
                                                            <h:outputText value="#{item.EML3}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Skype:"></h:outputLabel>
                                                                <h:outputText value="#{item.EML2}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div style="class="colclass-child">
                                                                <h:outputLabel value="Địa chỉ:"></h:outputLabel>
                                                                <h:outputText value="#{item.str1}, #{item.WARD}, #{item.DIST}, #{item.CITY}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div style="float:right!important;">
                                                            <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: right;padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                    <h:outputLink  value="editContact.jsp?action=edit&fn100E=#{item.ADRID}&pn950E=#{item.ADRNO}&page=#{contactController.pagereload}&height=350px&width=550px" styleClass="fancybox"
                                                                                   style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit" />                                                    
                                                                    </h:outputLink>
                                                                    <h:outputLink   value="delete.jsp?id=#{item.ADRNO}&pn100C=#{item.ADRID}&flag=N950&page=employeenew.jsp&tab=itemcontent&height=150px&width=300px" styleClass="fancybox" 
                                                                                    style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete" title="delete" />
                                                                    </h:outputLink>
                                                                    
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                                
                                                <h:panelGroup rendered="#{row%2!=0}">
                                                 <div class="rowodd">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="Điện thoại:"></h:outputLabel>
                                                            <h:outputText value="#{item.MOB1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="FAX:"></h:outputLabel>
                                                            <h:outputText value="#{item.FAX1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="Email:"></h:outputLabel>
                                                             <h:outputText value="#{item.EML1}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Yahoo:"></h:outputLabel>
                                                            <h:outputText value="#{item.EML3}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Skype:"></h:outputLabel>
                                                                <h:outputText value="#{item.EML2}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Địa chỉ:"></h:outputLabel>
                                                                <h:outputText value="#{item.str1}, #{item.WARD}, #{item.DIST}, #{item.CITY}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div style="float:right!important;">
                                                                   <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                            <h:outputLink  value="editContact.jsp?action=edit&fn100E=#{item.ADRID}&pn950E=#{item.ADRNO}&page=#{contactController.pagereload}&height=350px&width=550px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit" />                                                    
                                                                    </h:outputLink>
                                                                    <h:outputLink   value="delete.jsp?id=#{item.ADRNO}&pn100C=#{item.ADRID}&flag=N950&page=employeenew.jsp&tab=itemcontent&height=150px&width=300px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete" title="delete" />
                                                                    </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                            </a4j:repeat>
                                        </div>
                                    </div>
                                </h:panelGroup>
                            </rich:tab>


                            <rich:tab name="TABCN" action="#{EmpBean.chooseTabCN}" label="THÔNG TIN CÁ NHÂN">
                                <h:panelGroup id="reload4" style="float:left;width:100%;">
                                    <div style="width: 100% !important;float:left;">
<%--                                        <div style="float:left;width:100%;background-color: #4884B5;">

                                            <div style="float: left;border: 1px solid #666666;width: 7%;background-color: #506579;color: #fff;">

                                                <h:outputText style="float:left;line-height:25px;margin-left:7%;font-size:10px" value="#{locale.contact_info}"/>

                                            </div>
                                            <div style="float: left;border: 1px solid #666666;width: 2%;background-color: #506579;color: #fff;" >
                                                <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox">
                                                    <h:outputText style="float:left;line-height:25px;margin-left:21%;font-size:25px;color:white;" value="+"/>
                                                </h:outputLink>

                                            </div>

                                        </div>  --%>
                                    <div style ="padding-top: 5px; padding-left: 5px; padding-bottom: 5px; height: 16px;">
                                            <h:outputLabel value="THÔNG TIN CÁ NHÂN" style="font-weight: bold;float: left;color: #4884B5;"></h:outputLabel>
                                            <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: left; margin-left: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: left;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                   </div>
                                    <div style="float:left;width: 100%;" class="styleCN">
                                            <a4j:repeat value="#{l200Controller.listoftabL200}" var="item" rowKeyVar="row">
                                                <h:panelGroup rendered="#{row%2==0}">
                                                    <div class="rowdiv">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="Ngày bắt đầu:"></h:outputLabel>
                                                            <h:outputText value="#{item.ld201}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Mức lương:"></h:outputLabel>
                                                            <h:outputText value="#{item.ln203}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="Tiền trách nhiệm:"></h:outputLabel>
                                                             <h:outputText value="#{item.ln204}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Tiền thâm niên:"></h:outputLabel>
                                                            <h:outputText value="#{item.ln205}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Phúc lợi:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln213}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Giảm gia cảnh:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln206}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Lương BHXH:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln207}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Số BHXH:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv208}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                            
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Thâm niên CT:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln209}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="SL làm việc:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln210}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Trình độ VH:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv211}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Bằng cấp:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv212}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                            
                                                            
                                                        <div class="colclass" style="width: 4%;">
                                                            <div style="float:right!important;">
                                                               <%--    <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink> --%>
                                                            <%-- <h:outputLink  value="editContact.jsp?action=edit&fn100E=#{item.ADRID}&pn950E=#{item.ADRNO}&page=#{contactController.pagereload}&height=350px&width=550px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit" />                                                    
                                                                    </h:outputLink>
                                                                    <h:outputLink   value="delete.jsp?id=#{item.ADRNO}&pn100C=#{item.ADRID}&flag=N950&page=employeenew.jsp&tab=itemcontent&height=150px&width=300px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete" title="delete" />
                                                                    </h:outputLink> --%>
                                                                    <h:outputLink rendered="#{loginSession.right.EMP_INF_DEL}" value="delete.jsp?id=#{l200Controller.pn100}&flag=L200&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox" 
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                    </h:outputLink>
                                                                    <h:outputLink rendered="#{loginSession.right.EMP_INF_MOD}" value="editJob.jsp?action=edit&pn100E=#{l200Controller.pn100}&height=300px&width=500px" styleClass="fancybox"
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                    </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                                
                                                <h:panelGroup rendered="#{row%2!=0}">
                                                 <div class="rowodd">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="Ngày bắt đầu:"></h:outputLabel>
                                                            <h:outputText value="#{item.ld201}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Mức lương:"></h:outputLabel>
                                                            <h:outputText value="#{item.ln203}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="Tiền trách nhiệm:"></h:outputLabel>
                                                             <h:outputText value="#{item.ln204}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="Tiền thâm niên:"></h:outputLabel>
                                                            <h:outputText value="#{item.ln205}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Phúc lợi:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln213}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Giảm gia cảnh:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln206}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Lương BHXH:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln207}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Số BHXH:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv208}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                            
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Thâm niên CT:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln209}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="SL làm việc:"></h:outputLabel>
                                                                <h:outputText value="#{item.ln210}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Trình độ VH:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv211}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="Bằng cấp:"></h:outputLabel>
                                                                <h:outputText value="#{item.lv212}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                            
                                                            
                                                            <div class="colclass" style="width: 10%;">
                                                            <div style="float:right!important;">
                                                               <%--    <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink> --%>
                                                            <%-- <h:outputLink  value="editContact.jsp?action=edit&fn100E=#{item.ADRID}&pn950E=#{item.ADRNO}&page=#{contactController.pagereload}&height=350px&width=550px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit" />                                                    
                                                                    </h:outputLink>
                                                                    <h:outputLink   value="delete.jsp?id=#{item.ADRNO}&pn100C=#{item.ADRID}&flag=N950&page=employeenew.jsp&tab=itemcontent&height=150px&width=300px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete" title="delete" />
                                                                    </h:outputLink> --%>
                                                                    <h:outputLink rendered="#{loginSession.right.EMP_INF_DEL}" value="delete.jsp?id=#{l200Controller.pn100}&flag=L200&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox" 
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                    </h:outputLink>
                                                                    <h:outputLink rendered="#{loginSession.right.EMP_INF_MOD}" value="editJob.jsp?action=edit&pn100E=#{l200Controller.pn100}&height=300px&width=500px" styleClass="fancybox"
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                    </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                            </a4j:repeat>
                                        </div>
                                    </div>
                                </h:panelGroup>
                            </rich:tab>

                            <rich:tab name="TABCM" action="#{EmpBean.chooseTabCM}" label="CMND/PASSPORT">
                                <h:panelGroup id="reload6" style="float:left;width:100%;">
                                    <div style="width: 100% !important;float:left;">
<%--                                        <div style="float:left;width:100%;background-color: #4884B5;">

                                            <div style="float: left;border: 1px solid #666666;width: 7%;background-color: #506579;color: #fff;">

                                                <h:outputText style="float:left;line-height:25px;margin-left:7%;font-size:10px" value="#{locale.contact_info}"/>

                                            </div>
                                            <div style="float: left;border: 1px solid #666666;width: 2%;background-color: #506579;color: #fff;" >
                                                <h:outputLink value="editContact.jsp?action=add&fn100A=#{contactController.fn100}&page=employeenew.jsp&height=340px&width=568px" styleClass="fancybox">
                                                    <h:outputText style="float:left;line-height:25px;margin-left:21%;font-size:25px;color:white;" value="+"/>
                                                </h:outputLink>

                                            </div>

                                        </div>  --%>
                                        <div style ="padding-top: 5px; padding-left: 5px; padding-bottom: 5px; height: 16px;">
                                            <h:outputLabel value="CMND/PASSPORT" style="font-weight: bold;float: left;color: #4884B5;"></h:outputLabel>
                                            <h:outputLink value="editPersonal.jsp?action=add&fn100A=#{n350Controller.fn100}&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox" style="float: left; margin-left: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: left;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                        </div>    
                                        <div style="float:left;width: 100%;">
                                            <a4j:repeat value="#{n350Controller.listoftabN350}" var="item" rowKeyVar="row">
                                                <h:panelGroup rendered="#{row%2==0}">
                                                    <div class="rowdiv">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.papers}:"></h:outputLabel>
                                                            <h:outputText value="#{item.demo}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.number}:"></h:outputLabel>
                                                            <h:outputText value="#{item.nv351}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.date_of_issue}:">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputLabel>
                                                             <h:outputText value="#{item.nd352}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.closing_date}:"></h:outputLabel>
                                                            <h:outputText value="#{item.nd353}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="#{locale.place_of_issue}:"></h:outputLabel>
                                                                <h:outputText value="#{item.nv354}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div style="float:right!important;">
                                                                    <h:outputLink  value="editPersonal.jsp?action=add&fn100A=#{n350Controller.fn100}&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                                   style="float: right; padding-right: 5px;">
                                                                        <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                    <h:outputLink value="editPersonal.jsp?action=edit&fn100E=#{n350Controller.fn100}&pn350E=#{item.PN350}&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                    </h:outputLink>
                                                                    <h:outputLink  value="delete.jsp?id=#{item.PN350}&pn100C=#{n350Controller.fn100}&flag=N350&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox"
                                                                                   style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                    </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                                
                                                <h:panelGroup rendered="#{row%2!=0}">
                                                 <div class="rowodd">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.papers}:"></h:outputLabel>
                                                            <h:outputText value="#{item.demo}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.number}:"></h:outputLabel>
                                                            <h:outputText value="#{item.nv351}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.date_of_issue}:">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputLabel>
                                                             <h:outputText value="#{item.nd352}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.closing_date}:"></h:outputLabel>
                                                            <h:outputText value="#{item.nd353}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>  
                                                         <div class="colclass">
                                                            <div class="colclass-child">
                                                                <h:outputLabel value="#{locale.place_of_issue}:"></h:outputLabel>
                                                                <h:outputText value="#{item.nv354}" styleClass="outtext"></h:outputText>
                                                            </div>
                                                        </div>
                                                        <div class="colclass">
                                                            <div style="float:right!important;">
                                                                    <h:outputLink  value="editPersonal.jsp?action=add&fn100A=#{n350Controller.fn100}&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                                   style="float: right; padding-right: 5px;">
                                                                        <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                    <h:outputLink value="editPersonal.jsp?action=edit&fn100E=#{n350Controller.fn100}&pn350E=#{item.PN350}&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                                  style="float: right; padding-right: 5px;">
                                                                        <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                    </h:outputLink>
                                                                    <h:outputLink  value="delete.jsp?id=#{item.PN350}&pn100C=#{n350Controller.fn100}&flag=N350&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox"
                                                                                   style="float: right; padding-right: 5px;">
                                                                        <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                    </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                            </a4j:repeat>
                                        </div>
                                    </div>
                                </h:panelGroup>
                            </rich:tab>
                            <rich:tab name="TABTL" action="#{EmpBean.chooseTabTL}" label="TÀI LIỆU">
                                <h:panelGroup id="reload10" style="float:left;width:100%;">
                                    <div style="width: 100% !important;" class="classTL">
                                        <div style ="padding-top: 5px; padding-left: 5px; padding-bottom: 5px; height: 16px;">
                                            <h:outputLabel value="TÀI LIỆU" style="font-weight: bold;float: left;color: #4884B5;"></h:outputLabel>
                                            <h:outputLink value="uploadfile.jsp?pn100=#{documentController.pn100}&pm650=none&tab=itemcontent&page=employeenew.jsp&type=ALL&table=N100&KeepThis=true&amp;TB_iframe=true&amp;height=350&amp;width=550&amp;modal=true" styleClass="fancybox" style="float: left; margin-left: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: left;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                        </div>
                                         <div style="float:left;width: 100%;">
                                            <a4j:repeat value="#{documentController.listdocument}" var="item" rowKeyVar="row">
                                                <h:panelGroup rendered="#{row%2==0}">
                                                    <div class="rowdiv">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.file_name}:"></h:outputLabel>
                                                            <h:outputLink     value="#{item.download}"  target="_Bank" >
                                                                <h:outputText value="#{item.mv652}" styleClass="outtext"/>
                                                            </h:outputLink>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.description}:"></h:outputLabel>
                                                            <h:outputText value="#{item.mv651}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.date_update}:"></h:outputLabel>
                                                             <h:outputText value="#{item.ml668}" styleClass="outtext">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.person_update}"></h:outputLabel>
                                                            <h:outputText value="#{item.ml669}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>
                                                         <div class="colclass" style="width: 20%;">
                                                            <div style="float:right!important;">
                                                                   <h:outputLink value="uploadfile.jsp?pn100=#{documentController.pn100}&pm650=none&tab=itemcontent&page=employeenew.jsp&type=ALL&table=N100&KeepThis=true&amp;TB_iframe=true&amp;height=350&amp;width=550&amp;modal=true" styleClass="thickbox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                <h:outputLink   value="delete.jsp?id=#{item.pm650}&pn100C=#{documentController.pn100}&tab=itemcontent&page=employeenew.jsp&flag=M650&height=150px&width=300px" styleClass="fancybox"
                                                                                style="float: right; padding-right: 5px;">
                                                                    <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                                
                                                <h:panelGroup rendered="#{row%2!=0}">
                                                 <div class="rowodd">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.file_name}:"></h:outputLabel>
                                                            <h:outputLink     value="#{item.download}"  target="_Bank" >
                                                                <h:outputText value="#{item.mv652}" styleClass="outtext"/>
                                                            </h:outputLink>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.description}:"></h:outputLabel>
                                                            <h:outputText value="#{item.mv651}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.date_update}:"></h:outputLabel>
                                                             <h:outputText value="#{item.ml668}" styleClass="outtext">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.person_update}"></h:outputLabel>
                                                            <h:outputText value="#{item.ml669}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>
                                                        <div class="colclass" style="width: 20%;">
                                                            <div style="float:right!important;">
                                                                   <h:outputLink value="uploadfile.jsp?pn100=#{documentController.pn100}&pm650=none&tab=itemcontent&page=employeenew.jsp&type=ALL&table=N100&KeepThis=true&amp;TB_iframe=true&amp;height=350&amp;width=550&amp;modal=true" styleClass="thickbox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                <h:outputLink   value="delete.jsp?id=#{item.pm650}&pn100C=#{documentController.pn100}&tab=itemcontent&page=employeenew.jsp&flag=M650&height=150px&width=300px" styleClass="fancybox"
                                                                                style="float: right; padding-right: 5px;">
                                                                    <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                </h:outputLink>
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                            </a4j:repeat>
                                        </div>
                                        </div>
                                </h:panelGroup>
                            </rich:tab>

                            <rich:tab name="TABTK" action="#{EmpBean.chooseTabTK}" label="THÔNG TIN TÀI KHOẢN">
                                <h:panelGroup id="reload5" style="float:left;width:100%;">
                                    <div style="width: 100% !important;" class="classTL">
                                        <div style ="padding-top: 5px; padding-left: 5px; padding-bottom: 5px; height: 16px;">
                                            <h:outputLabel value="THÔNG TIN TÀI KHOẢN" style="font-weight: bold;float: left;color: #4884B5;"></h:outputLabel>
                                            <h:outputLink value="editAccount.jsp?action=add&id=#{t025Controller.REFID}&tab=itemcontent&page=employeenew.jsp&itemid=N100&height=300px&width=500px" styleClass="fancybox" style="float: left; margin-left: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: left;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                        </div>
                                        <div style="float:left;width: 100%;">
                                            <a4j:repeat value="#{t025Controller.listoftabT025}" var="item" rowKeyVar="row">
                                                <h:panelGroup rendered="#{row%2==0}">
                                                    <div class="rowdiv">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.account_num}:"></h:outputLabel>
                                                            <h:outputText value="#{item.TV027}" styleClass="outtext"/>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locate.currency}:"></h:outputLabel>
                                                            <h:outputText value="#{item.TV028}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.bank}:"></h:outputLabel>
                                                             <h:outputText value="#{item.TV029}" styleClass="outtext">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.address}"></h:outputLabel>
                                                            <h:outputText value="#{item.TV030}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>
                                                        <div class="colclass" style="width: 20%;">
                                                            <div style="float:right!important;">
                                                                   <h:outputLink value="editAccount.jsp?action=add&id=#{t025Controller.REFID}&tab=itemcontent&page=employeenew.jsp&itemid=N100&height=300px&width=500px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                <h:outputLink  value="editAccount.jsp?action=edit&id=#{item.REFID}&pt025=#{item.PT025}&itemid=N100&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                               style="float: right; padding-right: 5px;">
                                                                <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                </h:outputLink>
                                                                <h:outputLink   value="delete.jsp?id=#{item.REFID}&pn100C=#{item.PT025}&table1=N100&flag=T025&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox"
                                                                                style="float: right; padding-right: 5px;">
                                                                    <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                </h:outputLink>    
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                                
                                                <h:panelGroup rendered="#{row%2!=0}">
                                                 <div class="rowodd">
                                                        <div class="colclass">
                                                            <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.account_num}:"></h:outputLabel>
                                                            <h:outputText value="#{item.TV027}" styleClass="outtext"/>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locate.currency}:"></h:outputLabel>
                                                            <h:outputText value="#{item.TV028}" styleClass="outtext"></h:outputText>
                                                        </div>
                                                    </div>
                                                    <div class="colclass">
                                                        <div class="colclass-child">
                                                             <h:outputLabel value="#{locale.bank}:"></h:outputLabel>
                                                             <h:outputText value="#{item.TV029}" styleClass="outtext">
                                                                 <f:convertDateTime pattern="dd/MM/yyyy"/>
                                                             </h:outputText>
                                                        </div>
                                                        <div class="colclass-child">
                                                            <h:outputLabel value="#{locale.address}"></h:outputLabel>
                                                            <h:outputText value="#{item.TV030}" styleClass="outtext"></h:outputText>
                                                         </div>
                                                     </div>
                                                        <div class="colclass" style="width: 20%;">
                                                            <div style="float:right!important;">
                                                                   <h:outputLink value="editAccount.jsp?action=add&id=#{t025Controller.REFID}&tab=itemcontent&page=employeenew.jsp&itemid=N100&height=300px&width=500px" styleClass="fancybox" style="float: right; padding-right: 5px;">
                                                                    <h:outputText style="background: none repeat scroll 0 0 white;
                                                                                                border: 1px solid #8C97A1;
                                                                                                color: #8C97A1;
                                                                                                float: right;
                                                                                                font-size: 25px;
                                                                                                line-height: 14px;" value="+"/>
                                                                    </h:outputLink>
                                                                <h:outputLink  value="editAccount.jsp?action=edit&id=#{item.REFID}&pt025=#{item.PT025}&itemid=N100&tab=itemcontent&page=employeenew.jsp&height=300px&width=500px" styleClass="fancybox"
                                                                               style="float: right; padding-right: 5px;">
                                                                <img src="../images/edit.png" alt="edit" title="edit"/>
                                                                </h:outputLink>
                                                                <h:outputLink   value="delete.jsp?id=#{item.REFID}&pn100C=#{item.PT025}&table1=N100&flag=T025&tab=itemcontent&page=employeenew.jsp&height=150px&width=300px" styleClass="fancybox"
                                                                                style="float: right; padding-right: 5px;">
                                                                    <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                                                </h:outputLink>    
                                                            </div>
                                                    </div> 
                                                </div> 
                                                </h:panelGroup>
                                            </a4j:repeat>
                                        </div>
                                    </div>
                                </h:panelGroup>
                            </rich:tab>
                        </rich:tabPanel>
                    </div>
                </div>

            </div>
        </a4j:form>
    </body>
</html>

</f:subview>
